var path = './template/index.css'

var arr = path.split('.')

// var back = arr[arr.length-1]

var back = arr.pop();

console.log(back)